﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SN.Report
{
    public partial class FormRename : Form
    {
        private string snewName;

        public string SnewName
        {
            get { return snewName; }
            set { snewName = value; }
        }


        public FormRename()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            snewName = textBox1.Text;
            DialogResult = DialogResult.OK;

            Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
